package com.aya.activity.facade;

import com.aya.activity.goods.descend.DescendService;
import com.aya.activity.goods.discount.DiscountService;
import com.aya.activity.shop.fullmoney.FullMoneyService;

public class ActivityFacadeBuilder {
    DescendService descendService;
    DiscountService discountService;
    FullMoneyService fullMoneyService;


    private ActivityFacadeBuilder() {
    }

    public static ActivityFacadeBuilder newBuilder() {
        return new ActivityFacadeBuilder();
    }

    public ActivityFacadeBuilder withDescendService(DescendService val) {
        descendService = val;
        return this;
    }

    public ActivityFacadeBuilder withDiscountService(DiscountService val) {
        discountService = val;
        return this;
    }

    public ActivityFacadeBuilder withFullMoneyService(FullMoneyService val) {
        fullMoneyService = val;
        return this;
    }

    public ActivityFacade build() {
        return new ActivityFacade(this);
    }
}
